package com.li.service;


import com.li.pojo.News;
import com.li.pojo.NewsDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface NewsService {
    public NewsDto selectOne(int id);
    public List<NewsDto> selectNews(Map<String,String> map);
    public long count(Map<String,String> map);
    public int updateNews(News news);
    public int addNews(News news);
    public int deleteNews(List<Integer> ids);
    public int editNews( NewsDto newsDto);
}
